import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';

/* TODO: 文本内容及超链接 */
const Footer: React.FC = () => {
  const defaultMessage = '这儿可以放版权信息';
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: '应用名称',
          title: '产品名称',
          href: 'https://www.bilibili.com/bangumi/play/ep781703',
          blankTarget: true,
        },
        {
          key: 'Whale',
          title: <GithubOutlined />,
          href: 'https://www.bilibili.com/bangumi/play/ep781703',
          blankTarget: true,
        },
        {
          key: '所属单位',
          title: '创作团队',
          href: 'https://www.bilibili.com/bangumi/play/ep781703',
          blankTarget: true,
        },
      ]}
    />
  );
};
export default Footer;
